package com.zodiac.alioth.common.manager;

import java.util.ArrayList;
import java.util.List;

/**
 * @author insight
 */
public class AdminUserManager {
    private static final List<String> SUPER_MANAGER_USER_IDS = new ArrayList<String>() {
        private static final long serialVersionUID = -2037931081878879921L;

        {
            add("27070522017710080");
        }
    };

    /**
     * 判断是否为系统超级管理员
     *
     * @param userId
     * @return
     */
    public static boolean isSuperAdmin(String userId) {
        // 判断是否超级管理员
        return SUPER_MANAGER_USER_IDS.contains(userId);
    }
}
